#!/bin/bash

opt='ex'
dir='.'
for fname in `find ${dir} -name '*.py' -printf "%f\n"`
#for fname in `pwd`
do
#  echo $fname
    nname=$opt$fname
  echo $fname --> $nname
    mv $fname $nname
done